{"version":3,"file":"helper.map.js","names":["BX","namespace","Helper","frameOpenUrl","frameNode","openBtn","popupLoader","langId","ajaxUrl","currentStepId","notifyBlock","notifyNum","notifyText","notifyId","notifyButton","isAdmin","version","init","params","this","helpBtn","notifyData","runtimeUrl","notifyUrl","helpUrl","addEventListener","isOpen","close","show","setBlueHeroView","bind","window","proxy","event","eventOrigin","origin","frameOrigin","URL","data","action","setNotification","num","showNotification","contentWindow","postMessage","BXIM","openMessenger","user_id","getClass","Intranet","LeftMenu","getStructureForHelper","structure","menu","newArticleInfo","articleCount","lastTimestampCheckNewArticle","counter_update_date","needCheckNotify","checkNotification","additionalParam","sliderOptions","Type","isPlainObject","indexOf","type","isNotEmptyString","url","searchParams","delete","append","location","href","toString","getFrame","src","SidePanel","Instance","open","getSliderId","contentCallback","slider","promise","Promise","fulfill","getContent","width","cacheable","zIndex","events","onCloseComplete","onLoad","showFrame","onClose","addClass","getSlider","removeClass","classList","remove","content","create","attrs","className","children","getLoader","allowfullscreen","setTimeout","add","text","message","ajax","post","sessid","bitrix_sessid","isNaN","parseFloat","isFinite","numBlock","innerHTML","showFlyingHero","method","dataType","onsuccess","res","load","eval","time","id","body","button","onfailure","showAnimatedHero","browser","IsIE8","block","admin","panel","style","top","DIV","offsetHeight","document","appendChild","stage","swiffy","Stage","swiffyobject","setBackground","start","display"],"sources":["helper.js"],"mappings":"AAAAA,GAAGC,UAAU,aAEbD,GAAGE,OACH,CACCC,aAAe,GACfC,UAAY,KACZC,QAAU,KACVC,YAAc,KACdC,OAAQ,KACRC,QAAS,GACTC,cAAe,GACfC,YAAc,KACdC,UAAW,GACXC,WAAY,GACZC,SAAU,EACVC,aAAc,GACdC,QAAS,IACTC,QAAS,EAETC,KAAO,SAASC,GAEfC,KAAKhB,aAAee,EAAOf,cAAgB,GAC3CgB,KAAKZ,OAASW,EAAOX,QAAU,GAC/BY,KAAKd,QAAUa,EAAOE,QACtBD,KAAKT,YAAcQ,EAAOR,YAC1BS,KAAKX,QAAUU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